<?php
	require_once 'IProject.php';
	
	 class Content implements  IProject{
		protected  $name;
		protected  $text;
		protected  $id;
		
		
		
		public function setName($name){
			if (is_string($name)){
				$this->name=$name;
			} else {
				echo "Error in name";
			}
		}
		public function getName(){
			return $this->name;
		}
		
		public function setText($text){
			if (is_string($text)){
				$this->text=$text;
			} else {
				echo "Error in text";
			}
		}
		public function getText(){
			return $this->text;
		}
		
		public function setId($id){
			$this->id=$id;
		}
		public function getId(){
			return $this->id;
		}
	} 



?>